.container {
  min-height: 100vh;
  background: #f8f8f8;
  padding-bottom: 120rpx;
}

.order-status {
  background: #fff;
  padding: 40rpx 30rpx;

  .status-text {
    font-size: 36rpx;
    color: #ff4400;
    font-weight: 500;
  }
}

.store-info {
  background: #fff;
  padding: 30rpx;
  margin-top: 20rpx;
  display: flex;
  justify-content: space-between;
  align-items: center;

  .store-name {
    font-size: 30rpx;
    color: #333;
  }

  .arrow {
    color: #999;
    font-size: 28rpx;
  }
}

.goods-list {
  background: #fff;
  margin-top: 20rpx;
  padding: 0 30rpx;

  .goods-item {
    display: flex;
    padding: 30rpx 0;
    border-bottom: 1rpx solid #f5f5f5;

    &:last-child {
      border-bottom: none;
    }

    .goods-img {
      width: 160rpx;
      height: 160rpx;
      border-radius: 8rpx;
      margin-right: 20rpx;
    }

    .goods-info {
      flex: 1;

      .goods-name {
        font-size: 28rpx;
        color: #333;
        margin-bottom: 10rpx;
      }

      .goods-desc {
        font-size: 24rpx;
        color: #999;
        margin-bottom: 20rpx;
      }

      .goods-price-wrap {
        display: flex;
        justify-content: space-between;
        align-items: center;

        .price {
          font-size: 32rpx;
          color: #ff4400;
          font-weight: 500;
        }

        .count {
          font-size: 26rpx;
          color: #999;
        }
      }
    }

    .add-cart {
      min-width: 160rpx;
      height: 56rpx;
      line-height: 56rpx;
      font-size: 26rpx;
      color: #666;
      background: #fff;
      border: 1rpx solid #ddd;
      border-radius: 28rpx;
      padding: 0 20rpx;
      margin: 0;
      align-self: flex-end;
    }
  }
}

.price-info {
  background: #fff;
  margin-top: 20rpx;
  padding: 30rpx;

  .price-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20rpx;
    font-size: 28rpx;
    color: #666;

    &.total {
      margin-top: 30rpx;
      padding-top: 30rpx;
      border-top: 1rpx solid #f5f5f5;
      
      .amount.highlight {
        color: #ff4400;
        font-size: 32rpx;
        font-weight: 500;
      }
    }

    &:last-child {
      margin-bottom: 0;
    }
  }
}

.order-info {
  background: #fff;
  margin-top: 20rpx;
  padding: 30rpx;

  .info-title {
    font-size: 32rpx;
    color: #333;
    font-weight: 500;
    margin-bottom: 30rpx;
  }

  .info-item {
    display: flex;
    margin-bottom: 20rpx;
    font-size: 28rpx;
    line-height: 1.5;

    &:last-child {
      margin-bottom: 0;
    }

    .label {
      width: 180rpx;
      color: #999;
    }

    .value {
      flex: 1;
      color: #333;
    }

    .value-wrap {
      flex: 1;
      display: flex;
      align-items: center;

      .copy-btn {
        color: #576b95;
        margin-left: 20rpx;
      }
    }
  }
}

.copy-order-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  background: #fff;
  margin-top: 20rpx;
  padding: 30rpx;
  font-size: 28rpx;
  color: #576b95;

  image {
    width: 32rpx;
    height: 32rpx;
    margin-right: 10rpx;
  }
}

.service-btn {
  position: fixed;
  right: 30rpx;
  bottom: 180rpx;
  width: 100rpx;
  height: 100rpx;
  background: #fff;
  border-radius: 50%;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.1);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  image {
    width: 40rpx;
    height: 40rpx;
    margin-bottom: 6rpx;
  }

  text {
    font-size: 22rpx;
    color: #666;
  }
}

.bottom-btns {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  background: #fff;
  padding: 20rpx 30rpx;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  box-shadow: 0 -2rpx 10rpx rgba(0, 0, 0, 0.05);

  .btn {
    min-width: 160rpx;
    height: 64rpx;
    line-height: 64rpx;
    font-size: 26rpx;
    margin: 0 0 0 20rpx;
    padding: 0 30rpx;
    border-radius: 32rpx;

    &:first-child {
      margin-left: 0;
    }

    &:not(.primary) {
      color: #666;
      background: #fff;
      border: 1rpx solid #ddd;
    }

    &.primary {
      color: #fff;
      background: #ff4400;
    }
  }
}